package com.crm.customers.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

import com.crm.base.model.BaseModel;

/**
 * 受理建造师表
	FieldTypeComment
	idbigint(20) NOT NULL
	comidbigint(20) NULL代办表id
	cusidbigint(20) NULL受理建造师id
	conidbigint(20) NULL合同id
	isdelint(11) NULL是否删除
 * */
public class CommissionCustomer extends BaseModel {

	private static final long serialVersionUID = 7930832637828250709L;

	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
	
	private long comid;//代办表id
	
	private long cusid;//受理建造师id
	
	private long conid;//合同id
	
	private int isdel; //是否删除
	
	/*------------------------*/
	private Commission commissionInfo; //代办详情
	
	private CustomerInfo customerInfo; //客户详情
	
	private Integer state; //状态(草稿,审批)
	
	private Integer consign; //是否签合同标记
	
	private Integer approvestate;//审批状态

	public long getComid() {
		return comid;
	}

	public void setComid(long comid) {
		this.comid = comid;
	}

	public long getCusid() {
		return cusid;
	}

	public void setCusid(long cusid) {
		this.cusid = cusid;
	}

	public long getConid() {
		return conid;
	}

	public void setConid(long conid) {
		this.conid = conid;
	}

	public int getIsdel() {
		return isdel;
	}

	public void setIsdel(int isdel) {
		this.isdel = isdel;
	}

	public Commission getCommissionInfo() {
		return commissionInfo;
	}

	public void setCommissionInfo(Commission commissionInfo) {
		this.commissionInfo = commissionInfo;
	}

	public CustomerInfo getCustomerInfo() {
		return customerInfo;
	}

	public void setCustomerInfo(CustomerInfo customerInfo) {
		this.customerInfo = customerInfo;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getConsign() {
		return consign;
	}

	public void setConsign(Integer consign) {
		this.consign = consign;
	}

	public Integer getApprovestate() {
		return approvestate;
	}

	public void setApprovestate(Integer approvestate) {
		this.approvestate = approvestate;
	}

	
}
